@import url(fonts.css) all;
body {
	font-family: 'Poppins', Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 100%;
	color: #1c1c1c;
	position: relative;
	overflow: hidden;
}
#container {
	background: url("../img/Titelbild-21BFF_1096px.jpg") no-repeat;
	background-position: right center;
	background-size: cover;
	height: 100vh;
	width: 50%;
	position: absolute;
	right: 0;
	top: 0;
	z-index:1000;
}
@media screen and (max-width:1024px) {
	#container {
		background: url("../img/Titelbild-21BFF_768px.jpg") no-repeat;
		background-position: center center;
		background-size: cover;
	}
}

/*.home #container {
	background: url("../img/Titelbild-21BFF.jpg") no-repeat;
	background-position: top right;
	background-size: cover;
	width: 75%;
}*/
#wrap, #wrap2 {
	height: 100vh;
	background: #fff;
	padding: 2em 0 5em 2em;
	box-sizing: border-box;
	position: relative;
	overflow-y: auto;
}
#wrap {
	width: 50%;
}
/*.home #wrap {
	background: none;
	padding: 0;
	width: 100%;
}*/
#wrap2{
	width: 25%;
}
/*.home .entry:first-of-type {
	margin-top: 5em;
}*/
@media screen and (max-width: 768px) {
	body {
		overflow-x: hidden;
		overflow-y: auto;
	}
	#container {
		background: none;
		display: none;
	}
	#wrap, #wrap2 {
		width: 100%;
		overflow-x: hidden;
		height: auto;
		min-height: calc(100vh - 2em);
	}
	#wrap2 {
		padding: 0 0 5em 2em;
	}
/*	.home .entry:first-of-type {
	margin-top: 0;
}*/
}
@media screen and (max-width:768px) and (orientation:portrait) {
	#wrap {
		padding: 2em 0 2em 2em;
	}
}
@media screen and (max-width: 500px) {
	#wrap {
		padding: 0 0 5em 0;
	}
/*	.home .entry:first-of-type {
	margin-top: 0;
}*/
}
#main {
	padding-right: 2em;
}
#main-pages {
	
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap:nowrap;
}
#seitenleiste {
	border-left: 2px solid #E0E0E0;
	box-sizing: border-box;
	width: 100%;
	flex: 30% 1 1;
	padding-left: 1em;
}
#news-pages {
	flex: 70% 1 1;
	padding-right: 2em;
}
.sidebar-sub {
	padding-top: 2em;
	width: 90%;
}
.sidebar-sub:first-of-type {
	padding-top: 0;
}
@media screen and (max-width:500px) {
	.sidebar-sub {
		width: 100%;
	}
	#main-pages {
		padding: 0 1em 0 1em;
		flex-wrap: wrap;
}
	#seitenleiste {
			flex: 100% 1 1;
			border-left: none;
			border-top: 2px solid #E0E0E0;
			padding-left: 0;
			padding-top: 1em;
	}
	#news-pages {
		padding-right: 0;
	}
}
.entry-pages {
	width: 100%;
	padding-right: 1em;
	box-sizing: border-box;
}
.home .entry-pages {
	padding-right: 0;
}
.entry-pages p img {
	float: left;
	margin-right: 1em;
	margin: 0 1em 1em 0
}
.entry-pages:first-of-type, #seitenleiste {
	margin-top: 7em;
}
@media screen and (max-width:1137px) {
	.entry-pages:first-of-type, #seitenleiste {
		margin-top: 9em;
}
}
@media screen and (max-width:768px) {
	.entry-pages:first-of-type, #seitenleiste {
		margin-top: 6em;
}
}
@media screen and (max-width:620px) {
	.entry-pages:first-of-type, #seitenleiste {
		margin-top: 8em;
}
}
@media screen and (max-width:500px) {
	.entry-pages:first-of-type, #seitenleiste {
		margin-top: 0;
}
}
@media screen and (min-width:1894px) {
	.entry-pages:first-of-type, #seitenleiste {
		margin-top: 4em;
}
}
.entry-pages li {
	line-height: 1.5em;
	list-style-type: disc;
	padding-left: .2em;
	margin-left: 2em;
}
.blocks-gallery-item {
	line-height: normal!important;
	list-style-type: none!important;
	padding-left: 0!important;
	margin-left: 0!important;
}
/* Menü */
#menuliste {
	width: auto;
	height: 100%;
	position: absolute;
	background: #3bb9b3;
	z-index: 6000;
	font-size: 1.5em;
	line-height: 1.8em;
	font-weight: bold;
	padding-right: 4em;
	display: flex;
	flex-direction: column;
	justify-content:space-around;
}
@media screen and (max-height:768px) {
	#menuliste {
		font-size: 1.4em;
		line-height: 1.4em;
	}
}
@media screen and (max-width:768px) {
	#menuliste {
		width: auto;
		height: auto;
		min-height: 50vh;
	}
}
@media screen and (max-width:768px) and (orientation:landscape) {
	#menuliste {
		flex-direction: row;
		justify-content: flex-start;
	}
	}
@media screen and (max-width:600px) and (orientation:landscape) {
	#menuliste {
		font-size: 1.2em;
	}
	}
#menu-button {
	position: absolute;
	cursor: pointer;
	z-index: 6001;
}
.kreuz {
	background: url("../img/kreuz.png") no-repeat center center;
	background-size: 90%;
}
.hamburger {
	background: url("../img/hamburger.png") no-repeat center center #fff;
	background-size: 100%;
}
@media screen and (max-width:768px) {
	.hamburger {
		background: url("../img/hamburger.png") no-repeat center center;
		background-size: 100%;
	}
}
@media screen and (orientation:landscape) and (max-width:768px) {
	.hamburger {
		background: url("../img/hamburger_weiss.png") no-repeat center center;
		background-size: 100%;
	}
}
.menu-out {
	left: -50em;
	top: 0;
	opacity: 0;
}
.menu-out2 {
	left: -50em;
	top:0;
	-webkit-transition: left 1s ease-in, opacity 1s; 
  	transition: left 1s ease-in, opacity 1s;
	opacity: 0;
}
.menu-in {
	-webkit-transition: left 1s ease-in, opacity 1s; 
  	transition: left 1s ease-in, opacity 1s;
	opacity: 1;
	top:0;
	left: 0;
}
#menu-hauptmenue {
	margin: 1.3em 1em 0 5em;
}
#menuliste ul ul {
	font-weight: normal;
	margin: 0 0 .5em 0;
}
#menuliste ul ul li {
	display: inline-block;
}
@media screen and (max-width:500px) {
	#menuliste ul ul li {
		display: flex;
		flex-direction: column;
	}
}
#menuliste ul ul li:after {
	content: " |";
	color: #fff;
}
#menuliste ul ul li:last-of-type:after {
	content: none;
}
@media screen and (max-width:768px) and (orientation:portrait) {
	#menu-hauptmenue {
		margin: 4em 1em 0 1.5em;
	}
	/*.untermenu {
		margin: 1em 1em 1em 1.5em;
	}*/
}
@media screen and (max-width:768px) and (orientation:landscape) {
	#menu-hauptmenue {
		margin: 3em 1em 0 1.5em;
	}
	.untermenu {
		margin: 3em 1em 1em 1.5em;
	}
}
@media screen and (max-width:600px) and (orientation:landscape) {
	#menu-hauptmenue {
		margin-left: 1.8em;
	}
	.untermenu {
		margin-left: 0;
	}
}
#menu-button {
	top:2em;
	left: 2em;
	height: 5vh;
	width: 5vh;
}
@media screen and (orientation:landscape) and (max-width:768px) {
	#menu-button {
		height: 7vh;
		width: 7vh;
	}
}
/* Menü auf Unterseiten */
.menu-pages #menu-hauptmenue {
	margin: 0;
}
.menu-pages {
	font-weight: 500;
	font-size: 1.7em;
	width: 48%;
	border-bottom: 3px solid #3bb9b3;
	position:fixed;
	top: 0;
	left: 1.2em;
	padding-right: 2em;
	padding-top: 1em;
	line-height: 1.2em;
	padding-bottom: .5em;
	background: #fff;
	z-index: 400;
}
@media screen and (max-width:768px) {
	.menu-pages {
		width: 100%;
		box-sizing: border-box;
	}
}
@media screen and (min-width:501px) and (max-width:768px) and (orientation:portrait) {
	.menu-pages {
		display: block;
		width: 100%;
		margin: 0 0 0 -2em;
		background: url('../img/21BFF_headline.jpg') no-repeat top center #f1fafa;
		background-size: 100%;
		background-color: none;
		box-sizing: content-box;
		padding-top: 5.3em;
		padding-left: 2em;
	}
	.menu-pages > .startmenu > ul {
		background: none!important;
	}
	#main-pages {
		margin-top: 8em;
	}
	.startmenu {
		padding-top: .5em;
	}
}
.menu-pages > .startmenu > ul {
	position: relative;
	z-index:397;
	background: #fff;
}
.menu-pages ul li:hover{position: relative;}
.menu-pages > .startmenu > ul > li {
	display: inline-block; 
}
.menu-pages > .startmenu > ul > li::after {
	content: " | ";
	color: #3bb9b3;
}
.menu-pages > .startmenu > ul > li:last-of-type::after {
	content: none;
}
.menu-pages > .startmenu > ul > li > a {
	color:#3bb9b3
}
.menu-pages .current_page_item > a {
	color: #1c1c1c!important;
	font-weight: bold;
	text-decoration: underline;
}
.sub-menu {
	display: none;
}
/*.home .sub-menu {
	display: block;
}*/
@media screen and (min-device-width:500px) and (max-device-width:768px) and (orientation: portrait) {
	.menu-pages ul li:hover > ul {
		display: none!important;
	}
	.current_page_item .sub-menu, .current_page_parent .sub-menu {
		display: block;
		position: absolute;
		bottom: -1.9em;
		left: 0;
		background: #b7e5e3;
	}
	.sub-menu li {
		display: inline-block;
		font-size: .9em;
		font-weight: normal;
		margin-right: .5em;
	}
	.sub-menu li::after {
		content: " |";
	}
	.sub-menu li:last-of-type::after {
		content: none;
	}
}
@media screen and (max-width:500px) { 
	.sub-menu {
		display: flex;
		flex-wrap: wrap
	}
	.sub-menu li {
		margin-right: 1em;
	}
	li::after {
	content: none!important;
	}
	#menuliste a {
		color: #fff;
	}
}
.menu-pages ul li:hover > ul {
	display: block;
	position: absolute;
	background: #3bb9b3;
	top:1em;
	padding: .5em .5em .5em 0;
	min-width: 100%;
	box-sizing: border-box;
	z-index:399
}
.sub-menu li {
	padding-bottom: .5em;
	width: 100%;
}
@media screen and (max-width:768px) {
	.sub-menu li {
		padding-bottom: 0;
		width: auto;
	}
}
/*.home .sub-menu li {
	padding-bottom: 0;
	width: auto;
}*/
.sub-menu li:last-of-type {
	padding-bottom: 0;
}
.sub-menu li a {
	font-size: 1em;
}
/* Menü Pflichtmenü */
/*.home .pflichtmenu {
	display: none;
}*/
.pflichtmenu-tablet {
	display: none;
}
@media screen and (min-device-width:501px) and (max-width:768px) and (orientation:portrait) {
	.pflichtmenu-tablet {
		display: block;
		background: #b7e5e3; 
		width: 100%;
		padding: 1em 0 1em 2em;
		margin-left: -2em;
		box-sizing: content-box;
		position: absolute;
		bottom: 0;
	}
	.pflichtmenu-tablet li {
		display: inline-block;
		margin-right: 1em;
		font-weight: bold;
	}
}
.pflichtmenu {
	position: absolute;
	bottom: 2em;
	left: 2em;
	background: #fff;
}
.pflichtmenu li {
	display: inline-block;
	margin-right: .5em;
}
.pflichtmenu li::after {
	content: " | ";
	font-weight: 500;
	color:#1c1c1c;
}
.pflichtmenu li:last-of-type::after {
	content: none;
}
.pflichtmenu a {
	color: #1c1c1c;
	font-weight: 500;
	font-size: 1.3em;
}
@media screen and (max-width:500px) {
.untermenu {padding-left: 1.5em;}
}
@media screen and (max-width:1071px) {
	.pflichtmenu a {
		font-size: 1.2em;
	}
}
/* responsives Menü */
@media screen and (min-width:500px) {
	.mobile {
		display: none;
	}
}
@media screen and (max-width:768px) {
nav {
	width: 100%;
	height: 392px;
	background: url("../img/Titelbild-21BFF_portrait.jpg") no-repeat top center;
	background-size: auto 100%;
}
}
@media screen and (max-width:500px) {
	.desktop {
		display: none;
	}
}
@media screen and (orientation:landscape) and (max-width:768px) {
	nav {
	width: 100%;
	height: 100px;
	background: url("../img/21BFF_headline.jpg") no-repeat center center;
	background-size: auto 110%;
}
}
@media screen and (orientation:landscape) and (min-width:667px) and (max-width:767px) {
	nav {
	height: 150px;
	background-size: auto 100%;
}
}
/* Inhaltselemente */
h1, h2, h3 {
	color: #3bb9b3;
	font-size: 1.88em;
	font-weight: 500;
	line-height: 1.2;
	margin: 1em 0 .5em 0;
}
h4 {
	color: #1c1c1c;
	font-size: 1.8em;
	line-height: normal;
	margin: 1em 0 .5em 0;
}
h5 {
	color: #000;
	font-size: 1.1em;
	line-height: normal;
	margin: 0 0 .5em 0;width: 100%;
	display: block;
	background: #CCCCCC;
}
h3 {
	font-size: 1.2em;
}
h2 {
	font-size: 1.1em;
	line-height: normal;
}
p {
	font-size: 110%;
	line-height: 1.5em;
	position: relative;
	margin: .5em 0;
}
a {
	color: #1c1c1c;
	text-decoration: none;
}
.entry-pages p > a, .link {
	font-weight: 500;
	border-bottom: 2px solid #3bb9b3;
	margin-right: .2em;
}
a:hover {
	text-decoration: underline;
}
img + a {
	border-bottom: none!important;
}
/*.home #menuliste a, .home #menuliste ul a {
	color: #fff;
}*/
.more-link {
	font-weight: bold;
	width: 6em;
	display: block;
	border-bottom: 2px solid #3bb9b3;
	font-size: .9em;
	padding-bottom: .2em;
	margin: .5em 0 2em 80%;
}

/*.home .more-link {
	margin-left: 60%; 
}*/
@media screen and (max-width:768px) {
/*	.home .more-link {
		margin-left: 85%;
	}*/
	.more-link {
		font-size: 1em;
	}
}
@media screen and (max-width:500px) {
	.more-link {
		margin: .5em 0 2em 70%;
	}
}
/* Formulare */ 
select {
	font-size: 1em;
	width:40%;
	margin-top: .5em;
	height: 8em;
	font-family: "Poppins";
}
option {
	padding: .5em;
}
label {
	width: 50%;
}
form p {
	margin: 1em 0;
}
input	{
	border: 1px solid #3bb9b3;
	padding: .5em;
	box-sizing: border-box;
	font-size: 1em;
	width: 70%;
	font-family: "Poppins";
}
.submit {
	width: 40%!important;
}
/* Tabellen */
.wp-block-table {
	width: 100%;
}
.wp-block-table:last-of-type {
	padding-bottom:2em;
}
.page-id-1271 .wp-block-table td:first-of-type {
	width: 20%;
}
.wp-block-table td {
	padding: .5em;
	border: 1px solid #48B9B4;
}
.page-id-1318 .wp-block-table tr {
	background: rgba(236,236,237,1);
}
.page-id-1318 .wp-block-table tr:nth-of-type(odd) {
	background: rgba(236,236,237,.5)!important;
}
.page-id-1318 .wp-block-table td:last-of-type {
	text-align: right
}
strong {
	font-weight: bold;
}
/* ausfloaten */
.site::after {
	content: "";
	display: table;
	clear: both;
}
.home .wp-block-audio audio {
    width: 100%;
    min-width: 100px;
	max-width: 400px;
}
/* Korrekturen css Wordpress */
@media screen and (max-width:1024px) {
	.wp-block-image .alignleft {
		float: none!important;
		width: 100%!important;
		margin-right: 0;
	}
	.wp-block-image .alignleft img {width: 100%!important}
}
ul.wp-block-gallery {
	padding-right: 1em;
}
/* Korrektur Simple Lightbox */
#slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
	font-family: 'Poppins', Helvetica, Arial, sans-serif!important;
	font-weight: normal!important;
	font-size: 100%!important;
	font-style: normal!important;
	margin-top: 1em;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
	color: #1c1c1c!important;
}